﻿using Game;


public class XiuWeiWidget : CanvasWidget
{
    public ComponentPlayer m_componentPlayer;

    public SubsystemNK m_subsystemHL;

    public ComponentMiner componentMiner;

    public LinkWidget m_NFLink;
    public ValueBarWidget m_NFValueBar;

    public SubsystemGameInfo m_subsystemGameInfo;
    public SubsystemTime subsystemTime;

    //下面是新人物状态按钮系统
    public XiuWeiWidget(ComponentPlayer componentPlayer, SubsystemNK subsystemHL)
    {
        m_componentPlayer = componentPlayer;
        m_subsystemHL = subsystemHL;

        //XElement node = ContentManager.Get<XElement>("Widgets/人物");
        //LoadContents(this, node);
        //m_NFLink = Children.Find<LinkWidget>("NFLink");
        //m_NFValueBar = Children.Find<ValueBarWidget>("WaterValueBar");

    }


    public override void Update()
    {
        NK9 nk = m_componentPlayer.Entity.FindComponent<NK9>();
    }
}